package tools

import (
	"tianji-network/service/gateway/api/internal/types"
	"tianji-network/service/satellite/rpc/satellite"
)

func ProtoConvertToResp(s *satellite.SatelliteOne) *types.SatelliteReply {
	return &types.SatelliteReply{
		Id:        s.Id,
		Name:      s.Name,
		Status:    s.Status,
		Orbit:     s.Orbit,
		CosparId:  s.CosparId,
		LauchDate: s.LauchDate,
	}
}
